<!-- inc:frame.top -->

<div class="position"><p><!-- inc:position --> &raquo; {:$group[groupname]} &raquo; 字段方案</p><!-- inc:position.fr --></div>

<div class="page_pad">
  <form method="post" action="{:$mainlink}?file=msg&act=fieldok&sysgroupid={:$sysgroupid}&id={:$id}" onsubmit="return chkadd(this);">
  <input type="hidden" value="{:$rs[cateid]}" name="cateid" id="cateid" />
  <div class="content_box">
    <div class="content_bor">
      <table class="qg_notice">
        <tr>
          <td><p>优先关联主题字段方案，其次关联分类的字段方案，如果都不存在则读取当前系统组所有字段</p></td>
        </tr>
      </table>
      <table class="ctable">
        <tr>
          <td class="left">分类名称：</td>
          <td class="right">
            {:$rsc[catename]}
            <!-- if($rsc[catename_ft]) -->
            | {:$rsc[catename_ft]}
            <!-- end -->
            <!-- if($rsc[catename_en]) -->
            | {:$rsc[catename_en]}
            <!-- end -->
          </td>
        </tr>
        <tr>
          <td class="left">主题：</td>
          <td class="right">
            {:$rs[subject]}
            <!-- if($rs[subject_ft]) -->
            | {:$rs[subject_ft]}
            <!-- end -->
            <!-- if($rs[subject_en]) -->
            | {:$rs[subject_en]}
            <!-- end -->
          </td>
        </tr>
        <!-- if($rsu[thumbfile]) -->
        <tr>
          <td class="left">图片：</td>
          <td class="right"><img src="{:$rsu[folder]}{:$rsu[thumbfile]}" /></td>
        </tr>
        <!-- end -->
        <!-- if($fieldgroup) -->
        <tr>
          <td class="left">主题字段方案：</td>
          <td class="right">
            <select name="fieldgroupid">
              <option value="0">无</option>
              <!-- $fieldgroup AS $key=>$value -->
              <option value="{:$value[id]}"{if($rs[fieldgroupid] == $value[id])} selected{end}>{:$value[groupname]}</option>
              <!-- end -->
            </select>
            &nbsp;
            <span><a href="{:$mainlink}?file=sysgroup&act=fieldgroup&sysgroupid={:$sysgroupid}"><span class="color_red">[编辑字段方案]</span></a></span>
          </td>
        </tr>
        <!-- end -->
      </table>
    </div>
  </div><!--content_box-->
  
  <div class="gbutton_div"><button type="submit" class="gbutton gbutton_dblue gbutton_add creat_button">确定</button> &nbsp; <button type="button" class="gbutton gbutton_add" onclick="qgurl('{:$mainlink}?file=msg&act=list&sysgroupid={:$sysgroupid}{if($cateid)}&cateid={:$cateid}{end}')">返回</button> &nbsp; <span class="show_step" style="color:red;"><img src="images/loading.gif" style="visibility:hidden;" /></span></div>
  </form>
</div><!--page_pad-->

<script type="text/javascript">
function chkadd(o)
{
	$(".show_step").html("<img src='images/loading.gif' border='0' align='absmiddle'> 正在保存数据，如果网页没有动静请刷新...");
	$(".creat_button").attr("disabled","disabled");
}
</script>

<!-- inc:frame.bottom -->